<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of WithRelated
 *
 * @author Teodor
 */
Yii::import("ext.withRelated.WithRelatedBehavior");

class WithRelatedEntities  extends WithRelatedBehavior{
   
    public $called = false;
    public $data;
    
    public function save($runValidation = true, $data = null) {
        $this->called = true;
        $this->data = $data;
        return parent::save($runValidation, $data);
    }
}
